<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="./node_modules/axios/dist/axios.js"></script>
</head>
<body>
</body>
<script type="module">
    import axios from "./index.js";
    const r1 = axios("http://zhangpeiyue.com/scoreList",{
		params:{
			age:12
        }
    })
	const r2 = axios("http://zhangpeiyue.com/scoreList",{
		params:{
			age:20
		}
	})
	// axios.all([r1,r2]).then(value=>{
	// 	console.log(value[0].data,value[1].data);
    // })

    axios.all([r1,r2]).then(axios.spread(function(s1,s2){
		console.log(s1.data,s2.data)
    }))
</script>
</html>